<include file="head" />
<link  href="/assets/css/qiye.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
$(function(){
	$("label.zhankai").click(function(){
		if($(this).html() == "展开"){
			$(this).html("收起");
			$(".fine_xtxt").css({"height":"auto"});
		}else{
			$(this).html("展开");
			$(".fine_xtxt").css({"height":"36px"});
			
		}
	})
	$(".video iframe").removeAttr("width");	
	$(".video iframe").removeAttr("height");
	$(".video iframe").removeAttr("style");
	$(".video iframe").css({"width":"100%","height":"240px"});
	$(".thislist .timg").each(function(index, element){
		if($(this).html() == ''){
			$(".thislist:eq("+index+") .ttxt").css({"width":"100%"});
		}
	})
})
</script>
<!--wrap-->
<section class="wrap"> 

  <volist name='articleReuslt' id='article'>
  <if condition="$article.menuid eq $getid">
  	 	<if condition="stripos($article['extendattr'],'c') nheq false">
		  <section class="vodeo_box" id="video"> 
		  	<if condition="$article.videopath eq ''">
		    <section class="nvse" id="video1"><a href="{:U('Article/index',array('id'=>$article['id']))}"><img src="{$article.thumbimg}"> <i></i></a></section>
			<else />
		    <section class="video" id="video2" > 
		      {:W('Data/getvideo',array('str'=>$article['videopath']))}
		    </section>
		    </if>
		  </section>
		  <section class="pack_box">
		    <section class="fine_box tips_tbor">
		      <section class="fine_xmg">
		        <h3><a href="{:U('Article/index',array('id'=>$article['id']))}">{$article.title}</a></h3>
		        <p>
		          <time>发布时间：{$article.pubdate}</time>
		        </p>
		      </section>
		      <if condition="$article.description neq ''"><section class="fine_xtxt">{$article.description|msubstr=0,44}<a href="{:U('Article/index',array('id'=>$article['id']))}">[详情]</a></section></if>
		      <!--<label class="zhankai" v='0'>展开</label>-->
		    </section>
		  </section>
	  </if>
  </if>
  </volist>
  
  <!--增加-->  
  <!--<div class="shoplink" onclick="location.href='http://e.hrtv.cn/ehrtv/company/shopitem?id={$domainid}';">限时低价，立即抢购</div>-->
  
  <section class="thislist">
  	  <volist name='articleReuslt' id='article'>
  	  <if condition="$article.menuid eq $getid">
		<if condition="stripos($article['extendattr'],'c') nheq false">
		  <else />
	      <a href="{:U('Article/index',array('id'=>$article['id']))}">
	      	  <span class="timg"><if condition="$article.thumbimg neq ''"><img src="{$article.thumbimg}"></if></span>
			  <span class="ttxt">
			  <h3>{$article.title}</h3>
	          <if condition="$article.description neq ''"><p>{$article.description}</p></if>
	          <em>{$article.pubdate}</em>
	          <if condition="$article.rtype neq 0">
	          <b><i>{:W('Data/rtypename',array('tid'=>$article['rtype']))}</i></b>
	          </if>
	          </span>
	      </a>
		</if>
      </if>
      </volist>
      <!-- <span class="browersmore">查看更多 <img src="__IMG__/smore.png"></span> -->
  </section>

</section>
<!--wrap over--> 
<script type="text/javascript">
    $(function () {
//         $("#video").click(function () {
//             var video1 = $("#video1");
//             var video2 = $("#video2");
//             if (video1.css("display") == "block") {
//                 video2.show();
//                 video1.hide();
//             }
//         })
    });
</script>
<include file="footer" />
